package cn.house.houseai.service;

import cn.house.houseai.entify.ChangePasswordRequest;
import cn.house.houseai.entify.Users;
import cn.house.houseai.vo.ResultVo;
import org.apache.catalina.User;

/**
 * @author 羡y
 * @date 2024/9/24
 * @Description
 */
public interface UserService {
    ResultVo queryAll();

    ResultVo login(String username, String password);

    ResultVo register(Users user);

    ResultVo updateUser(int user_id,Users user);

    Users getById(String username);

    ResultVo getByMessage(Integer user_id);

    ResultVo updatePassword(int  user_id, ChangePasswordRequest request);
}
